﻿package com.assist.server
{

    public class PlayerType extends Object
    {

        public function PlayerType()
        {
            return;
        }// end function

        public static function isTester(param1:int) : Boolean
        {
            return isCommonTester(param1) || isAdvancedTester(param1) || isGM(param1) || isTrainer(param1);
        }// end function

        public static function isCommonTester(param1:int) : Boolean
        {
            return param1 == 1;
        }// end function

        public static function isStar(param1:int) : Boolean
        {
            return param1 == 1;
        }// end function

        public static function isAdvancedTester(param1:int) : Boolean
        {
            return param1 == 2;
        }// end function

        public static function isGM(param1:int) : Boolean
        {
            return param1 == 3;
        }// end function

        public static function isTrainer(param1:int) : Boolean
        {
            return param1 == 4;
        }// end function

    }
}
